package com.bite.api.domain.dto;

import lombok.Getter;
import lombok.Setter;
import org.springframework.stereotype.Service;

import java.util.List;

@Getter
@Setter
public class JudgeSubmitDTO {
//跨服务直接，无法用ThreadLocal获取到,我们存储这个Local是friend服务里面,让friend以参数给他传过来
    private Long userId;

    private Long examId;
    //编程语言类型(0 java,1 c++)
    private Integer programType;

    private Long questionId;
    //题目难度
    private Integer difficulty;
    //时间限制 ms
    private Long timeLimit;

    //空间限制 ms
    private Long spaceLimit;
    //拼装完整的用户代码:用户提交的代码+main函数
    private String userCode;
    //测试用例，输入数据
    private List<String> inputList;
//期望输出数据
    private List<String>outputList;

}
